package com.hbpu.usercenter.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 用来响应用户登录结果的实体
 * @author 马可
 */
@Schema(description = "用来响应用户登录结果的实体")
@Data
public class UserLoginVO implements Serializable {

    @Schema(hidden = true)
    @Serial
    private static final long serialVersionUID = 5646867876795101650L;

    /**
     * 登陆结果
     */
    @Schema(description = "登陆结果")
    private String status;

    /**
     * 登录类型
     */
    @Schema(description = "登录类型")
    private String type = "account";

    /**
     * 账号权限
     */
    @Schema(description = "账号权限")
    private String currentAuthority = "admin";

}
